export default{
    namespaced:true,
    state:{
        mechanism:'',//归属机构
        isShow : 0
    },
    mutations:{
        //更改mechanism和isShow
        setMechanism(state,name){
            // alert(name)s
            if(name && name!=''){
                state.mechanism = name
                state.isShow = 0
            }
        },
        // 只更改isShow
        changeoShow(state){
            state.isShow = 1
        }
    }
}